package main

import (
	"github.com/ryon-wen/own-utils/own"

	"2106A-zg6/baidu/srv/models"
)

func main() {

	all, err := models.GetFileAll()
	if err != nil {
		return
	}

	for _, v := range all {
		own.EsAdd(int64(v.ID), v)
	}

}
